#ifndef __GAME_SERVER__
#define __GAME_SERVER__

#include "utility.h"
#include "opcode.h"
#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>
#include <d3d9.h>
#include <d3dx9.h>
#include <stdlib.h>
#include <assert.h>

#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "winmm.lib")

#pragma comment(lib,"dinput8.lib")
#pragma comment(lib, "dxguid.lib")
#pragma comment(lib, "comctl32.lib")

#define COM_METHOD(TYPE, METHOD) TYPE STDMETHODCALLTYPE METHOD


#include "detours/detours.h"
#pragma comment(lib, "detours/detours.lib")

#include "cache.hpp"

extern bool tex_send[1024];
extern CommandServer cs;
extern UnstructuredNet dis;

union Format{
	DIMOUSESTATE mouse;
	DIMOUSESTATE2 mouse2;
	char keyboard[256];
};
#endif
